package com.naicheng.ivote.doman;

import java.util.List;

public class BaseResponseEntity<T> {
	private int code;//返回码
	private Boolean state;//请求是否成功
	private String msg;// 返回信息（正确字符串信息或错误信息）
	private List<T> data;//列表信息
	private T singleDomain;
	
	
	

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public T getSingleDomain() {
		return singleDomain;
	}

	public void setSingleDomain(T singleDomain) {
		this.singleDomain = singleDomain;
	}

	public List<T> getData()
	{
		return data;
	}

	public void setData(List<T> data)
	{
		this.data = data;
	}


	public Boolean getState() {
		return state;
	}

	public void setState(Boolean state) {
		this.state = state;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	
	
}
